package com.dormitory.management.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel( description = "User实体类")
public class UserPageReq implements Serializable {

    @ApiModelProperty(value = "当前页",required = true)
    private int pageCurrent = 1;

    @ApiModelProperty(value = "每页记录数",required = true)
    private int pageSize = 10;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("账号类型（admin：超级管理员，housemaster：宿管，student：学生）")
    private String userType;

    @ApiModelProperty(value = "开始时间")
    private Date gmtStart;

    @ApiModelProperty(value = "结束时间")
    private Date gmtEnd;

//    @ApiModelProperty("权限")
//    private String roles;
//    @ApiModelProperty("个人介绍")
//    private String introduction;
//    @ApiModelProperty("用户名")
//    private String name;
}
